<form action="" method="post">


	<p><label>Gallery path 
		<input type="text" name="path" class="wide" value="<?=hdat('settings', 'path')?>">
	</label></p>

	<p><label>Image size
		<input type="text" name="w" class="narrow" value="<?=hdat('settings', 'w')?>"></label> x <input type="text" name="h" class="narrow" value="<?=hdat('settings', 'h')?>">
	</p>

	<p><label>Preview size
		<input type="text" name="tnw" class="narrow" value="<?=hdat('settings', 'tnw')?>"></label> x <input type="text" name="tnh" class="narrow" value="<?=hdat('settings', 'tnh')?>">
	</p>

	<p><label>Delay between transitions (seconds)
		<input type="text" name="delay" class="narrow" value="<?=hdat('settings', 'delay')?>">
	</label></p>

	<p><label>Transition type
		<select name="transition">
			<option value="0" <?=(dat('settings', 'transition') == 0) ? 'selected="selected"' : ''?>>Fade</option>
			<option value="1" <?=(dat('settings', 'transition') == 1) ? 'selected="selected"' : ''?>>Gradient fade</option>
		</select>
	</label></p>

	<p><label>Transition speed: effect will step by <input type="text" name="step" class="narrow" value="<?=hdat('settings', 'step')?>"></label> from 0 to 1000 every <input type="text" name="speed" class="narrow" value="<?=hdat('settings', 'speed')?>"> msec
	</p>


	<p><input type="submit" name="editor_save" value="Save" /></p>

</form>
